<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>pdf</title>
</head>
<body>
    <pre>
        <a href="/downloadPdf">下载pdf-Jfinal</a>
        <a href="/previewPdf">预览pdf-Jfinal</a>
<!--
        <a href="#" id="yl">预览pdf-Jfinal</a>
-->
    </pre>


</body>
<script src="/jq/jquery-1.9.1.js"></script>
<script>
    $("#yl").click(function (){

        //静态资源
        var url ="http://192.168.31.254:8080/输液室呼叫器产品.xls";
        window.open('http://192.168.31.110:8012/onlinePreview?url='+encodeURIComponent(url));
    })
</script>
</html>